/* Parallel Elliptic Curve Cryptography Engine - An OpenSSL Engine which
 * uses the SPU Elliptic Curve Library to provide optimized functionality
 * on the CBEA.
 *
 * Copyright (C) 2008  Michael Annichiarico (mike.gcdeveloper@gmail.com)
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
#include<stdio.h>
#include"pecc-stage4_spu.h"

int main(unsigned long long speid,unsigned long long argv) {
	spu_cmd_t cmd;

//	fprintf(stderr,"HELLO FROM SPU speid = %llx : argv = %llx\n",speid,argv);
//	fprintf(stderr,"attempting spu_add...\n");

	//assume argv is a spu_cmd_t arg.
	pecc_dispatch_cmd(argv, &cmd);
}
